﻿using HCQ2_Model.DocModel.APIModel;
using HCQ2_Model.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_IBLL
{
    public partial interface IT_DocEmpowerBLL
    {
        /// <summary>
        ///  获取文档授权列表
        /// </summary>
        /// <param name="powerName"></param>
        /// <param name="startDate"></param>
        /// <param name="endDate"></param>
        /// <param name="powerStatus"></param>
        /// <param name="page"></param>
        /// <param name="rows"></param>
        /// <returns></returns>
        TableModel GetPowerListData(string powerName, string startDate, string endDate, int powerStatus, int page, int rows);

        //**********************************************************接口**********************************************************
        /// <summary>
        ///  判断用户是否授权
        /// </summary>
        /// <param name="user_id"></param>
        /// <returns></returns>
        bool GetPowerCountByUser(int user_id);
        /// <summary>
        ///  接口获取授权列表
        /// </summary>
        /// <param name="param">参数</param>
        /// <param name="user_id">用户id</param>
        /// <returns></returns>
        TableModel GetPowerAPPList(EmpowerAPPParam param, int user_id);
    }
}
